


(function(){
	
	var data = JSON.parse(localStorage.getItem("data"))
	var uid = data.uid
	var token = data.token
	var bppj=[]
	common.ajax("student/queryTeacherPlan",{
			uid:localStorage.getItem("uid"),
	         token:token
	},function(data){
		
		
			if(data.code==200){
//				for(var i=0; i <data.data.length;i++){
//			   var nn=data.data[i]
//			   bppkuid.push(nn)
//		}
	               
			}
//			console.log(data)
		},'get')
	
	
	
	
	
	
	var oo=JSON.parse(localStorage.getItem('aaaaaaa'))
	for(var i=0;i<oo.length;i++){
//		console.log(oo[i].planUid)
		bppj.push(oo[i].planUid)
	}
	
	
//   console.log(oo.planUid)
	common.ajax("student/queryTeacherPlanBook",{
		uid:localStorage.getItem("uid"),
		token:token,
		planUid:bppj[0],
		state:1
	},function(data){
//		  console.log(oo)
//		console.log(data)
		
	},'get')
	
	
//	console.log(bppkuid)
	
})()
